package com.runfast.common.web.shiro;

import com.runfast.waimai.dao.model.BaseUser;

import java.io.Serializable;

/**
 * @author: Mr.Jiao
 * @date: 2018年10月14日
 */
public class CachedUser implements Serializable {
    private String cacheId;

    private BaseUser user;

    //private WaiMaiRunfastAgentaccounts agentaccounts;

    public String getCacheId() {
        return cacheId;
    }

    public void setCacheId(String cacheId) {
        this.cacheId = cacheId;
    }

    public BaseUser getUser() {
        return user;
    }

    public void setUser(BaseUser user) {
        this.user = user;
    }

   /* public WaiMaiRunfastAgentaccounts getAgentaccounts() {
        return agentaccounts;
    }

    public void setAgentaccounts(WaiMaiRunfastAgentaccounts agentaccounts) {
        this.agentaccounts = agentaccounts;
    }

    public CachedUser(String cacheId, BaseUser user, WaiMaiRunfastAgentaccounts agentaccounts) {
        this.cacheId = cacheId;
        this.user = user;
        this.agentaccounts = agentaccounts;
    }*/

    public CachedUser(String cacheId, BaseUser user) {
        this.cacheId = cacheId;
        this.user = user;
    }

    public CachedUser() {
    }
}